import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import { Stack } from 'expo-router';
import { useTheme } from '../context/ThemeContext';

export default function ScheduleScreen() {
  const { isDarkMode } = useTheme();
  
  return (
    <>
      <Stack.Screen options={{ 
        title: '课表',
        headerStyle: {
          backgroundColor: isDarkMode ? '#1E1E1E' : '#FFFFFF',
        },
        headerTintColor: isDarkMode ? '#FFFFFF' : '#333333',
      }} />
      <View style={[
        styles.container, 
        { backgroundColor: isDarkMode ? '#121212' : '#FFFFFF' }
      ]}>
        <Text style={[
          styles.title, 
          { color: isDarkMode ? '#FFFFFF' : '#000000' }
        ]}>课表页面</Text>
        <Text style={[
          styles.subtitle, 
          { color: isDarkMode ? '#AAAAAA' : '#666666' }
        ]}>这里将展示您的课程安排</Text>
      </View>
    </>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    alignItems: 'center',
    justifyContent: 'center',
    padding: 20,
  },
  title: {
    fontSize: 20,
    fontWeight: 'bold',
    marginBottom: 16,
  },
  subtitle: {
    fontSize: 16,
  },
}); 